<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<table class="cntable table table-bordered dataTable table-money">
	<thead>
		<tr>
			<th style="width:50px">序号</th>
			<th style="width:100px">课题组名称</th>
			<th style="width:100px">项目组名称</th>
			<th style="width:100px">财务科目</th>
			<th style="width:130px">支出者姓名</th>
			<th style="width:80px">金额</th>
			<th style="width:100px">时间</th>
			<th style="width:100px">用途</th>
			<th style="width:100px">报销状态</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="reimbursement" items="${reimbursements}" varStatus="status">
			<tr data-id="${reimbursement.id}">
				<td>${status.index+1}</td>
				<td>${reimbursement.theGroupName}</td>
				<td>${reimbursement.theProjectName}</td>
				<td>${reimbursement.theMoneyTypeName}</td>
				<td>${reimbursement.theUserName}</td>
				<td>${reimbursement.amount}</td>
				<td><fmt:formatDate value="${reimbursement.createDate}" pattern="yyyy/MM/dd "/></td>
				<td>${reimbursement.comments}</td>
				<td>
					<t:provider packageName="money" enumClassName="ReimbursementState" value="${reimbursement.state}"/> 
				</td>
			</tr>
		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<th class="pager-th">
				<%@ include file="/WEB-INF/views/shared/master/pager.jsp"%>
			</th>
		</tr>
	</tfoot>
</table>